package com.exchange.web.comment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.exchange.web.comment.entity.comment;
import com.exchange.web.comment.entity.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author G511677
 * @Description TODO
 * @Date 1/6/2024 下午11:32
 * @Version 1.0
 */
public interface CommentMapper extends BaseMapper<comment> {
    List<CommentVO> getGoodsComment(@Param("goodId") Long goodsId);

    List<CommentVO> getGoodsComment_(IPage<CommentVO> page, @Param("goodId") Long goodsId);
}
